package hookan.redo;

import hookan.redo.common.CommonProxy;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import org.apache.logging.log4j.Logger;

@Mod(modid = Redo.MODID, name=Redo.NAME, version=Redo.VERSION)
public class Redo
{
    public static final String MODID = "redo";
    public static final String NAME = "Redo";
    public static final String VERSION = "1.0";

    @SidedProxy(clientSide = "hookan.redo.client.ClientProxy",
            serverSide = "hookan.redo.common.CommonProxy")
    public static CommonProxy proxy;

    @Mod.Instance(MODID)
    public static Redo instance;

    private Logger logger;

    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
        proxy.preInit(event);
    }

    @EventHandler
    public void init(FMLInitializationEvent event)
    {
        proxy.init(event);
    }
}